//
//  XJShopDetailModel.h
//  XinJiangMall
//
//  Created by RaoBo on 2018/5/5.
//  Copyright © 2018年 Tzyang. All rights reserved.
//

#import <Foundation/Foundation.h>

/**店铺详情的分类model*/
@interface XJShopCategoryModel : NSObject
/**1.店铺的分类id 需要将id 改为 shopCategoryId*/
@property(nonatomic, copy) NSString *shopCategoryId;
/**2.分类名*/
@property(nonatomic, copy) NSString *name;
/**3.创建时间*/
@property(nonatomic, copy) NSString *create_time;
/**4.店铺id*/
@property(nonatomic, copy) NSString *shop_id;

@end

/** 店铺详情model*/
@interface XJShopDetailModel : NSObject
/**1、店铺名字*/
@property(nonatomic, copy) NSString *name;
/**2、经营内容*/
@property(nonatomic, copy) NSString *business;
/**3.avator 头像 url*/
@property(nonatomic, copy) NSString *avatar;
/**4.店铺背景图片url*/
@property(nonatomic, copy) NSString *cover;
/**5.店铺地址*/
@property(nonatomic, copy) NSString *shop_address;
/**6.联系电话*/
@property(nonatomic, copy) NSString *shop_phone;

@end


#pragma mark - 数据格式参考
/**
 {"code":0,"data":{"shop_info":{"shop_detail":{"name":"石原里美","business":"10块钱","avatar":"http://static.zertone1.com/XhJ1qfRzmWpM5dVm4Ivzvxb3Qj4sgAwh.jpg","shop_address":"杭州市","shop_phone":"15726940595","cover":"http://static.zertone1.com/ubQPKbcouT6bdUiDWfqWhoYrQ8nyKqvl.jpg"},"shop_category":[{"id":6,"name":"蔬菜","create_time":1524205346719,"sort":1,"shop_id":5},{"id":7,"name":"水果","create_time":1524205354849,"sort":2,"shop_id":5},{"id":8,"name":"肉禽","create_time":1524205364094,"sort":3,"shop_id":5}]}}}
 */
// 在 这个网址查看 https://www.json.cn/
// 完整url http://xinjiangapi.zertone1.com/api/v1/shop/info?shop_id=5


